package cn.com.ddapp.ddm.bean.mine;

import java.util.List;

import cn.com.ddapp.ddm.bean.Entity;
import cn.com.ddapp.ddm.util.StringUtils;

/**
 * Created by admin on 2016/9/27.
 */
public class MyAddress extends Entity {

    /**
     * id : 32
     * name : 元岗
     * urgentId : 6
     */

    private List<ListBean> list;

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        private int id;
        private String name;
        private int urgentId;
        private String levelId;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getUrgentId() {
            return urgentId;
        }

        public void setUrgentId(int urgentId) {
            this.urgentId = urgentId;
        }

        public String getLevelId() {
            if(StringUtils.isEmpty(levelId)){
                return "";
            }
            return levelId;
        }

        public void setLevelId(String levelId) {
            this.levelId = levelId;
        }
    }
}
